Upgrade Ubuntu in single-node and multi-node deployments.
XCO is supported on Ubuntu 16.04, 18.04, and 20.04 as described in Supported Platforms and Deployment Models for Fabric Skill. You can upgrade from 16.04 to 18.04 and from 18.04 to 20.04 while XCO is installed.
Follow this procedure to upgrade Ubuntu from 18.04 to 20.04.
Note
$ efa system backup Generating backup of EFA... Backup Location: /var/log/efa/backup/EFA-3.2.1-GA-2023-03-23T13-25-55.105.tar --- Time Elapsed: 37.543063336s ---
If you are on a multi-node deployment, complete the remaining steps on both the nodes.
On the secondary node, complete the following upgrade procedure:
# opt/efa$ sudo bash package-manager.sh --unhold Started unholding the packages used by application Unholding perl Unholding mariadb client Unholding mariadb server Unholding glusterfs Unholding keepalived Unholding litestream Completed unholding the packages used by application
# sudo dpkg --get-selections | grep hold
To un-hold the packages, run the following command.
# sudo apt-mark unhold <package-name> *keep a note of these packages
Make a note of packages that were still held even after running the script.
# sudo apt update && sudo apt upgrade -y
# sudo do-release-upgrade
Once both the nodes are upgraded, complete the following steps:
# cat /etc/os-release NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal
# opt/efa$ sudo bash package-manager.sh --hold Starting hold on packages used by application Holding perl Holding mariadb client Holding mariadb server Holding glusterfs Holding keepalived Holding litestream Completed running the hold on packages used by application
# sudo dpkg --get-selections | grep hold |wc -l 57
# sudo apt-mark hold <package-name>